<?php include '../base/header.php' ?>
<?php
require_once '../sql/connection.php';
// 查询语句
$sql_config = "select * from about";
// 连接数据库，并查询
$result_config = mysqli_query($GLOBALS['conn'], $sql_config);
// 获取关于内容
$row = mysqli_fetch_array($result_config);

echo "<div>
            <div class='uk-card uk-card-primary uk-card-hover uk-text-center'>
                <div class='uk-card-media-top'>
                    <!-- 系列图片 -->
                    <img src='$row[4]' alt=''>
                </div>
                <div class='uk-card-body'>
                    <h3 class='uk-card-title'>
                        关于我们
                      </h3>
                    <p>$row[1]</p>
                </div>
            </div>
        </div>";


?>
<?php include '../base/footer.php' ?>
